#ifndef ZCPUINFO_H
#define ZCPUINFO_H

#include <QObject>
#include <QProcess>
#include <QDebug>
#include <QTimer>

class ZCpuInfo : public QObject
{
    Q_OBJECT
public:
    explicit ZCpuInfo(QObject *parent = nullptr);



    bool get_cpu_usage__(int count=4);

private:
    double m_send_bytes__;
    double m_recv_bytes__;
    double m_disk_read__;
    double m_disk_write__;
    double m_cpu_total__;
    double m_cpu_use__;

};

#endif // ZCPUINFO_H
